/* Yet Another Experimental Software Renderer
 *
 * Copyright (c) 2010 Pawel "Hery" Dziepak
 */

#include "types.h"

namespace yaesr {
#pragma pack(push,1)
	struct bmp_header {
		u8 magic[2];
		u32 file_size;
		u16 reserved0;
		u16 reserved1;
		u32 offset;
	};

	struct dib_header {
		u32 header_size;
		s32 width;
		s32 height;
		u16 planes;
		u16 bpp;
		u32 compress_type;
		u32 buffer_size;
		s32 hres;
		s32 vres;
		u32 color;
		u32 imp_colors;
	};
#pragma pack(pop)
}